const app = getApp()
let baseUrl = app.globalData.baseUrl
let api = {
  matchDetail: baseUrl + 'match/', //获取比赛
  players: baseUrl + 'player/',
  playerTotals: baseUrl + 'player/totals',
  playerRecentMatchs: baseUrl + 'player/recentMatchs',
  playerHeroes: baseUrl + 'player/heroes',
  playerPeers: baseUrl + 'player/peers',
  playerEnemies: baseUrl + 'player/enemies',
  playerMaxs: baseUrl + 'player/maxs',
  login: baseUrl + 'login',
  steamLogin: baseUrl + 'login/getSteamLoginUrl',
  scanWxacode: baseUrl + 'login/scanWxacode',
  loginPc: baseUrl + 'login/loginPc',
  forbidLoginPc: baseUrl + 'login/forbidLoginPc',
  currentReport: baseUrl + 'report/current',
  months: baseUrl + 'report/months',
  report: baseUrl + 'report/',
  monthHeroes: baseUrl + 'report/heroes',
  process: baseUrl + 'process/',
}
export default api